
using Qdb.Activation;
using Qdb.Tests.Common.TA.Hierarchy;

namespace Qdb.Tests.Common.TA.Hierarchy
{
	internal class PrioritizedProject : Project
	{
		private int _priority;

		public PrioritizedProject(string name, int priority) : base(name)
		{
			_priority = priority;
		}

		public virtual int GetPriority()
		{
			// TA BEGIN
			Activate(ActivationPurpose.Read);
			// TA END
			return _priority;
		}
	}
}
